<?php $this->beginWidget('webroot.widgets.iButtonBar');?>

<?php $this->widget('bootstrap.widgets.TbButton', array(
    'label'=>Yii::t('main','Create Translate'),
    'type'=>'success',
	'icon'=>'plus-sign white',
    'url'=> array('update', 'id'=>$model->id),
));?>
<?php $this->widget('bootstrap.widgets.TbButton', array(
    'label'=>Yii::t('main','Update Translate'),
    'type'=>'primary',
	'icon'=>'pencil white',
    'url'=> array('update', 'id'=>$model->id),
));?>
<?php $this->widget('bootstrap.widgets.TbButton', array(
    'label'=>Yii::t('main', 'Cancel'),
    'type'=>'primary',
	'icon'=>'remove-sign white',
    'url'=> Yii::app()->createUrl('/translate/manage/admin'),
));?>
<?php $this->endWidget();?>

<?php
 $this->beginWidget('webroot.widgets.iPortlet', array('title'=>Yii::t('main','Translate').' #'.GxHtml::encode(GxHtml::valueEx($model))));
$this->widget('bootstrap.widgets.TbDetailView', array(
	'data' => $model,
	'attributes' => array(
	'id',
	'table_name',
	'pri_id',
	'trans_content',
	'language',
	'update_time',
	'published'
	),
));
$this->endWidget();
?>

